<!DOCTYPE html>
<html lang="en">

<!-- Mirrored from uxliner.com/adminkit/demo/main/ltr/index.html by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 14 May 2021 17:30:44 GMT -->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>${title} - 机票预订系统</title>
<#include "../header.ftl">
<!-- Left side column. contains the logo and sidebar -->
<#include "../nav.ftl">
  
  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper"> 
    <!-- Content Header (Page header) -->
    <div class="content-header sty-one">
      <h1>${title}</h1>
      <ol class="breadcrumb">
        <li><a href="/admin/index.html">主页</a></li>
        <li><i class="fa fa-angle-right"></i> ${title}</li>
      </ol>
    </div>
    
    <!-- Main content -->
    <div class="content">
      <div class="card">
      <div class="card-body">
      <form action="do_update_user.html" id="submitForm" method="post" class="search-form">
        <div class="row">
          <div class="col-lg-2">
            <fieldset class="form-group">
              <label>用户名</label>
              <input type="hidden" id="id" name="id" value="${userInfo.id}" />
              <input class="form-control" id="username" name="username" type="text" value="${userInfo.username}">
            </fieldset>
          </div>
        </div>
        <div class="row">
          <div class="col-lg-2">
            <fieldset class="form-group">
              <label>密码</label>
              <input class="form-control" id="password" name="password" type="password" value="${userInfo.password}">
            </fieldset>
          </div>
        </div>
        <div class="row">
          <div class="col-lg-2">
            <fieldset class="form-group">
              <label>姓名</label>
              <input class="form-control" id="fullName" name="fullName" type="text" value="${userInfo.fullName}">
            </fieldset>
          </div>
        </div>
        <div class="row">
          <div class="col-lg-2">
            <fieldset class="form-group">
              <label>余额</label>
              <input class="form-control" id="amount" name="amount" type="text" value="${userInfo.amount}">
            </fieldset>
          </div>
        </div>
        <button type="button" class="btn btn-outline-primary" style="" onclick="checkSubmit();">提交</button>
        </form>
    </div>
    </div>
    </div>
    <!-- /.content --> 
  </div>
  <script>
  	function checkSubmit(){
  		let username = $("#username").val();
  		let password = $("#password").val();
  		let fullName = $("#fullName").val();
  		if(username==null || username==""){
  			alertMsg("用户名不能为空");
  			return;
  		}
  		if(password==null || password==""){
  			alertMsg("密码不能为空");
  			return;
  		}
  		if(fullName==null || fullName==""){
  			alertMsg("姓名不能为空");
  			return;
  		}
  		$("#submitForm").submit();
  	}
  </script>
<#include "../footer.ftl">
</html>